<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" xml:lang="ru">
    <head>
        <title>plane edit</title>
        <link rel="stylesheet" href="/css/edit.css"/>
        <link rel="stylesheet" href="/css/dialog.css"/>
        <script type="text/javascript" src="/js/jquery-1.7.1.js"></script>
        <script type="text/javascript" src="/js/modaldialog.js"></script>
        <script type="text/javascript" src="/js/infohandle.js"></script>
        <script type="text/javascript" src="/js/tags-cats-dialogs.js"></script>

        <!-- load editor -->
        <script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
        <script type="text/javascript" src="/ckeditor/adapters/jquery.js"></script>
        <script type="text/javascript" src="/js/article-edit-dialog.js"></script>
        <script type="text/javascript">
            $().ready(function() {    
                var ed=$().ArticleEditDialog("#run-article-edit-dialog");
                /*
        
                               
                var opt={
                    toolbar_custom_v1:
                        [
                        { name: 'doc',items : [ 'Source','-','DocProps','Preview','Print','-','Templates' ]},
                        { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
                        { name: 'editing',   items : [ 'Find','Replace','-','SelectAll']},
                        { name: 'tools',		items : [ 'Maximize', 'ShowBlocks','-','About' ] },
                        "/",
                        { name: 'basicstyles',	items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
                        { name: 'paragraph',	items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock']},
                        { name: 'styles', items : [ 'Format', 'TextColor' ]},
                        { name: 'links',  items : [ 'Link','Unlink','Anchor','Image','Table', 'HorizontalRule','SpecialChar'] }
                    ],
                    toolbar : 'custom_v1',
                    uiColor : '#9999ff'
                }  

                $( ".editor-area" ).ckeditor(opt);
                $(".editor-area-full-feature").ckeditor({toolbar:"Full"});
           );*/
            });
        </script>
        <!-- //editor --> 
        <style type="text/css">
            #aticle-edit-dlg {

            }
        </style>

    </head>
    <body>
        <p><a href="#" id="run-article-edit-dialog">run article edit dialog</a></p>
        <div style="width: 100%">
            <%@include file="/WEB-INF/jspf/article-edit-dialog.jspf" %>
        </div>
      
    </body>
</html>
